//
// Created by 罗俊华 on 2022/1/21.
//

#include "strngbad.h"
#include <iostream>
using namespace std;
void create_object_and_delete();
int main(){

    create_object_and_delete();

}

void create_object_and_delete(){


    StringBad * str_obj = new StringBad("我是第一个对象");

    cout << *str_obj;

    delete str_obj;

}

